<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 这个是引入的css -->
    <link rel="stylesheet" href="./bs_css/bootstrap.css">
    <link rel="stylesheet" href="./css/index.css">
    <!-- 这个是bootstrap 文件依赖的文件 -->
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <!-- 这个是引入的js -->
    <script src="./bs_js/bootstrap.min.js"></script>
    <script src="./js/index.js" defer type="module"></script>
</head>
<body>
    <header>
        <input type="text" placeholder="英雄" id="hero">
        <input type="text" placeholder="创建人" id="ren">
        <input type="date" id="riqi">
        <button class="btn btn-info mr-5" id="add" style="color: #fff;">新增</button>
    </header>
    <!-- 表格 -->
    <div class="row">
        <div class="col-xs-12">
            <table class="table table-bordered">
                <thead>
                    <tr>
                        <th>序号</th>
                        <th>英雄</th>
                        <th>创建人</th>
                        <th>创建时间</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                <!-- 添加模态框 -->
                <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
                    <div class="modal-dialog" role="document">
                        <div class="modal-content">
                            <div class="modal-body" style="display: flex;flex-direction: column;justify-content: space-around;">
                                <p>
                                    <input type="text" id="addHero" placeholder="请输入英雄">
                                </p>
                                <p>
                                    <input type="text" id="addRen" placeholder="创建人">
                                </p>
                                <p>
                                    <input type="date" id="addRiqi" placeholder="">
                                </p>
                            </div>
                            <div class="modal-footer">
                                <button type="button" class="btn btn-default" data-dismiss="modal" id='close1'>取消</button>
                                <button type="button" class="btn btn-primary" id="addSure">确定</button>
                            </div>
                        </div>
                    </div>
                </div>
                </tbody>
            </table>
        </div>
    </div>
</body>
</html>